Skip to content

logging: render formattedMessage on stdout; tool calls log key-value pairs - #1485

Merged
aaylward merged 1 commit into
mainfrom
log-formatted-message
Sep 3, 2026
Merged

logging: render formattedMessage on stdout; tool calls log key-value pairs#1485
aaylward merged 1 commit into
mainfrom
log-formatted-message

Conversation

@aaylward

@aaylward aaylward commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

The shared logback JsonEncoder now also writes formattedMessage, so docker logs read by eye while message/arguments stay as they are for the stats pipeline. mcpserver's per-call line becomes message tool_call with tool, ms, and outcome as key-value pairs, the same shape as one_d4's query events; the tests pin the pairs instead of parsing text.

…pairs

The shared JsonEncoder keeps the raw template and arguments for machine
readers and adds the rendered line for eyes. ToolCallLog writes
tool/ms/outcome as key-value pairs under a tool_call message, the shape
the stats pipeline reads.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
1d4-web f915d0a Commit Preview URL

Branch Preview URL
Sep 03 2026, 03:47 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
iili f915d0a Commit Preview URL

Branch Preview URL
Sep 03 2026, 03:48 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ast-lol f915d0a Commit Preview URL

Branch Preview URL
Sep 03 2026, 03:48 AM

@aaylward
aaylward enabled auto-merge (squash) September 3, 2026 03:49
@aaylward
aaylward merged commit 96d317e into main Sep 3, 2026
22 checks passed
@aaylward
aaylward deleted the log-formatted-message branch September 3, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant